package com.easyboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
*
 * @author yushuo
 * @description 项目启用项
 * @date 10:47 2021/7/6
 * @param
 * @return
**/
//@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@MapperScan("com.easyboot.web.*.mapper")
@SpringBootApplication
@EnableScheduling
public class EasyBootApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext app=SpringApplication.run(EasyBootApplication.class, args);
        //SpringUtils.setApplicationContext(app);
        System.out.println("(♥◠‿◠)ﾉﾞ  EASYCMS启动成功   ლ(´ڡ`ლ)ﾞ");


    }
}
